package com.heima.tuozhan.day01.Poultry;

public class Demo1 {
    public static void main(String[] args) {
        Cock c = new Cock("红", 2);
        c.eat();
        c.crow();
        Duck d = new Duck("黑", 1);
        d.eat();
        d.swim();
    }
}
